package com.rs.yyds.service.impl;

import com.rs.yyds.bean.Menu;
import com.rs.yyds.bean.MenuVo;
import com.rs.yyds.mapper.MenuMapper;
import com.rs.yyds.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuServiceImpl implements MenuService {
    @Autowired
    private MenuMapper menuMapper;
    @Override
    public List<Menu> findMenuList() {
        return menuMapper.findMenuList();
    }

    @Override
    public List<MenuVo> findRoleMenuList(MenuVo menuVo) {
        return menuMapper.findRoleMenuList(menuVo);
    }
}
